﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Shop.aspx.cs" Inherits="Main_Shop" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<%@ Register src="../top.ascx" tagname="top" tagprefix="uc1" %>
<%@ Register src="../bottom.ascx" tagname="bottom" tagprefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title><%=   ConfigurationSettings.AppSettings["title"]   %>-店面信息</title>
	<meta name="Keywords" content="<%=   ConfigurationSettings.AppSettings["Keywords"]   %>" />
    <meta name="description" content="<%=   ConfigurationSettings.AppSettings["description"]   %>" />
    <link href="../css/header/header.css" rel="stylesheet" type="text/css" />
    <link href="../css/footer/footer.css" rel="stylesheet" type="text/css" />
    <link href="../css/shop/shop.css" rel="stylesheet" type="text/css" />
    <base target=_blank> 
</head>
<body>
    <form id="form1" runat="server">
        <uc1:top ID="top1" runat="server" />
        <div class="main_all">    
        	<div class="shop_search">            
                <table>
                    <tr>
                        <td>
                            领域：</td>
                        <td>
                            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                <ContentTemplate>
                                    <asp:DropDownList ID="ddlfield" runat="server" 
                                    AppendDataBoundItems="True" AutoPostBack="True" 
                                    onselectedindexchanged="ddlfield_SelectedIndexChanged">
                                    <asp:ListItem Value="0">--请选择--</asp:ListItem>
                                    </asp:DropDownList>
                                </ContentTemplate>
                            </asp:UpdatePanel></td>
                        <td>
                            类型：</td>
                        <td>
                            <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                <ContentTemplate>
                                    <asp:DropDownList ID="ddltype" runat="server" AppendDataBoundItems="True">
                                    <asp:ListItem Value="0">--请选择--</asp:ListItem>
                                    </asp:DropDownList>
                                </ContentTemplate>
                            </asp:UpdatePanel></td>
                        <td>
                           店名：</td>
                        <td>
                            <asp:TextBox ID="txtname" runat="server"></asp:TextBox></td>
                        <td>
                            <asp:Button ID="btnsearch" runat="server" CssClass="btngrey" Text="查找" 
                    onclick="btnsearch_Click" />    </td>
                    </tr>
                </table>    
            </div> 
            <asp:Panel ID="Panel1" runat="server" Visible="False">
                  <tr><td>       
                <div class="shop">
                    <asp:DataList ID="dlshop" runat="server" CssClass="shop_nr" RepeatColumns="4" RepeatDirection="Horizontal">
                        <ItemTemplate>
                            <asp:HiddenField ID="Hiddensid" runat="server" Value='<%# Eval("Sid") %>' />
                          
                            <table class="shop_show">
                            
                                <tr>
                                
                                <td>
                                    <div class="shop_image">
                                        <asp:ImageButton ID="Imbtnimage" runat="server" Width="100px" Height="80px" ImageUrl='<%# Eval("Slogo") %>' />
                                    </div> 
                                </td> 
                                
                                <td>
                                    <table class="shop_txt">
                                    
                                    <tr><td>
                                        <div class="shop_txt_h"><asp:Label ID="labsname"  runat="server" Text='<%# Eval("Sname") %>'></asp:Label></div>
                                    </td></tr> 
                                    
                                    <tr><td>  
                                        <div class="shop_txt_l">
                                            类型：<asp:Label ID="labtname" runat="server"  Text='<%# Eval("Tname") %>'></asp:Label><br/>
                                            <div class="position_L">火热度：</div>
                                            <asp:Rating ID="ThaiRating" runat="server" EmptyStarCssClass="emptyRatingStar" 
                                            FilledStarCssClass="filledRatingStar" 
                                            WaitingStarCssClass="savedRatingStar" 
                                            StarCssClass="ratingStar" 
                                            ReadOnly="True">
                                            </asp:Rating>
                                        </div>
                                    </td></tr> 

                                    <tr><td>    
                                        <asp:HyperLink ID="Hlkshop" runat="server" Text="查看详细" CssClass="shop_but"></asp:HyperLink>
                                    </td></tr>
                                           
                                    </table>
                                </td>
                                
                                </tr>
                                
                            </table>
                            
                        </ItemTemplate>
                    </asp:DataList>
                    
                </div>
            </td></tr>  
            </asp:Panel>   
            <asp:Panel ID="Panel2" runat="server">           
        	<div class="shop_nav">      
            	<div class="position_L"><img src="../css/shop/Pg_r1_c1.png" /></div>
                <div class="shop_nav_bg">美食</div>
                <div class="position_L"><img src="../css/shop/Pg_r1_c4.png" /></div>
                <div class="shop_nav_bg2">
                    <div class="more">
                        <asp:HyperLink ID="HyperLink1" CssClass="more_shop" NavigateUrl="ShopList.aspx?fid=76589" runat="server">MORE</asp:HyperLink>
                    </div>
                </div>        
            </div>      
                <div class="shop">
                    <asp:DataList ID="dlcy" runat="server" CssClass="shop_nr" RepeatColumns="4" RepeatDirection="Horizontal">
                        <ItemTemplate>
                            <asp:HiddenField ID="Hiddensid" runat="server" Value='<%# Eval("Sid") %>' />
                          
                            <table class="shop_show">
                            
                                <tr>
                                
                                <td>
                                    <div class="shop_image">
                                        <asp:ImageButton ID="Imbtnimage" runat="server" Width="100px" Height="80px"  ImageUrl='<%# Eval("Slogo") %>' />
                                    </div> 
                                </td> 
                                
                                <td>
                                    <table class="shop_txt">
                                    
                                    <tr><td>
                                        <div class="shop_txt_h"><asp:Label ID="labsname"  runat="server" Text='<%# Eval("Sname") %>'></asp:Label></div>
                                    </td></tr> 
                                    
                                    <tr><td>  
                                        <div class="shop_txt_l">
                                            类型：<asp:Label ID="labtname" runat="server"  Text='<%# Eval("Tname") %>'></asp:Label><br/>
                                            <div class="position_L">火热度：</div>
                                            <asp:Rating ID="ThaiRating" runat="server" EmptyStarCssClass="emptyRatingStar" 
                                            FilledStarCssClass="filledRatingStar" 
                                            WaitingStarCssClass="savedRatingStar" 
                                            StarCssClass="ratingStar" 
                                            ReadOnly="True">
                                            </asp:Rating>
                                        </div>
                                    </td></tr> 

                                    <tr><td>    
                                        <asp:HyperLink ID="Hlkshop" runat="server" Text="查看详细" CssClass="shop_but"></asp:HyperLink>
                                    </td></tr>
                                           
                                    </table>
                                </td>
                                
                                </tr>
                                
                            </table>
                            
                        </ItemTemplate>
                    </asp:DataList>
                    
                </div>
              <div class="shop_nav">      
            	<div class="position_L"><img src="../css/shop/Pg_r1_c1.png" /></div>
                <div class="shop_nav_bg">休闲</div>
                <div class="position_L"><img src="../css/shop/Pg_r1_c4.png" /></div>
                <div class="shop_nav_bg2">
                    <div class="more">
                        <asp:HyperLink ID="HyperLink2" CssClass="more_shop" NavigateUrl="ShopList.aspx?fid=153178" runat="server">MORE</asp:HyperLink>    
                    </div>
                </div>        
            </div> 
              <div class="shop">
                    
                    <asp:DataList ID="dlxx" runat="server" CssClass="shop_nr" RepeatColumns="4" RepeatDirection="Horizontal">
                        <ItemTemplate>
                            <asp:HiddenField ID="Hiddensid" runat="server" Value='<%# Eval("Sid") %>' />
                          
                            <table class="shop_show">
                            
                                <tr>
                                
                                <td>
                                    <div class="shop_image">
                                        <asp:ImageButton ID="Imbtnimage" runat="server" Width="100px" Height="80px"  ImageUrl='<%# Eval("Slogo") %>' />
                                    </div> 
                                </td> 
                                
                                <td>
                                    <table class="shop_txt">
                                    
                                    <tr><td>
                                        <div class="shop_txt_h"><asp:Label ID="GnameLabel"  runat="server" Text='<%# Eval("Sname") %>'></asp:Label></div>
                                    </td></tr> 
                                    
                                    <tr><td>  
                                        <div class="shop_txt_l">
                                        
                                            类型：<asp:Label ID="GtypeLabel" runat="server"  Text='<%# Eval("Tname") %>'></asp:Label><br/>
                                            <div class="position_L">火热度：</div>
                                            <asp:Rating ID="ThaiRating" runat="server" EmptyStarCssClass="emptyRatingStar" 
                                            FilledStarCssClass="filledRatingStar" 
                                            WaitingStarCssClass="savedRatingStar" 
                                            StarCssClass="ratingStar" 
                                              ReadOnly="True">
                                            </asp:Rating>                                       
                                        </div>
                                    </td></tr> 
                                    
                                    <tr><td>    
                                        <asp:HyperLink ID="Hlkshop" runat="server" Text="查看详细" CssClass="shop_but"></asp:HyperLink>
                                    </td></tr>
                                           
                                    </table>
                                </td>
                                
                                </tr>
                                
                            </table>
                            
                        </ItemTemplate>
                    </asp:DataList>
                    
                </div>   
        	<div class="shop_nav">      
            	<div class="position_L"><img src="../css/shop/Pg_r1_c1.png" /></div>
                <div class="shop_nav_bg">购物</div>
                <div class="position_L"><img src="../css/shop/Pg_r1_c4.png" /></div>
                <div class="shop_nav_bg2">
                    <div class="more">
                        <asp:HyperLink ID="HyperLink3" CssClass="more_shop" NavigateUrl="ShopList.aspx?fid=229767" runat="server">MORE</asp:HyperLink>    
                    </div>
                </div>        
            </div>     
                <div class="shop">
                    
                    <asp:DataList ID="dlgw" runat="server" CssClass="shop_nr" RepeatColumns="4" RepeatDirection="Horizontal">
                        <ItemTemplate>
                            <asp:HiddenField ID="Hiddensid" runat="server" Value='<%# Eval("Sid") %>' />
                          
                            <table class="shop_show">
                            
                                <tr>
                                
                                <td>
                                    <div class="shop_image">
                                        <asp:ImageButton ID="Imbtnimage" runat="server" Width="100px" Height="80px"  ImageUrl='<%# Eval("Slogo") %>' />
                                    </div> 
                                </td> 
                                
                                <td>
                                    <table class="shop_txt">
                                    
                                    <tr><td>
                                        <div class="shop_txt_h"><asp:Label ID="GnameLabel"  runat="server" Text='<%# Eval("Sname") %>'></asp:Label></div>
                                    </td></tr> 
                                    
                                    <tr><td>  
                                        <div class="shop_txt_l">
                                        
                                            类型：<asp:Label ID="GtypeLabel" runat="server"  Text='<%# Eval("Tname") %>'></asp:Label><br/>
                                            <div class="position_L">火热度：</div>
                                            <asp:Rating ID="ThaiRating" runat="server" EmptyStarCssClass="emptyRatingStar" 
                                            FilledStarCssClass="filledRatingStar" 
                                            WaitingStarCssClass="savedRatingStar" 
                                            StarCssClass="ratingStar" 
                                              ReadOnly="True">
                                            </asp:Rating>
                                        </div>
                                    </td></tr> 
                                    
                                    <tr><td>    
                                        <asp:HyperLink ID="Hlkshop" runat="server" Text="查看详细" CssClass="shop_but"></asp:HyperLink>
                                    </td></tr>
                                           
                                    </table>
                                </td>
                                
                                </tr>
                                
                            </table>
                            
                        </ItemTemplate>
                    </asp:DataList>
                    
                </div>    
        	<div class="shop_nav">      
            	<div class="position_L"><img src="../css/shop/Pg_r1_c1.png" /></div>
                <div class="shop_nav_bg">生活</div>
                <div class="position_L"><img src="../css/shop/Pg_r1_c4.png" /></div>
                <div class="shop_nav_bg2">
                    <div class="more">
                        <asp:HyperLink ID="HyperLink4" CssClass="more_shop" NavigateUrl="ShopList.aspx?fid=306356" runat="server">MORE</asp:HyperLink>    
                    </div>
                </div>        
            </div>       
                <div class="shop">
                    
                    <asp:DataList ID="dlsh" runat="server" CssClass="shop_nr" RepeatColumns="4" RepeatDirection="Horizontal">
                        <ItemTemplate>
                            <asp:HiddenField ID="Hiddensid" runat="server" Value='<%# Eval("Sid") %>' />
                          
                            <table class="shop_show">
                            
                                <tr>
                                
                                <td>
                                    <div class="shop_image">
                                        <asp:ImageButton ID="Imbtnimage" runat="server" Width="100px" Height="80px"  ImageUrl='<%# Eval("Slogo") %>' />
                                    </div> 
                                </td> 
                                
                                <td>
                                    <table class="shop_txt">
                                    
                                    <tr><td>
                                        <div class="shop_txt_h"><asp:Label ID="GnameLabel"  runat="server" Text='<%# Eval("Sname") %>'></asp:Label></div>
                                    </td></tr> 
                                    
                                    <tr><td>  
                                        <div class="shop_txt_l">
                                        
                                            类型：<asp:Label ID="GtypeLabel" runat="server"  Text='<%# Eval("Tname") %>'></asp:Label><br/>
                                            <div class="position_L">火热度：</div>
                                            <asp:Rating ID="ThaiRating" runat="server" EmptyStarCssClass="emptyRatingStar" 
                                            FilledStarCssClass="filledRatingStar" 
                                            WaitingStarCssClass="savedRatingStar" 
                                            StarCssClass="ratingStar" 
                                              ReadOnly="True">
                                            </asp:Rating>
                                        </div>
                                    </td></tr> 
                                    
                                    <tr><td>    
                                        <asp:HyperLink ID="Hlkshop" runat="server" Text="查看详细" CssClass="shop_but"></asp:HyperLink>
                                    </td></tr>
                                           
                                    </table>
                                </td>
                                
                                </tr>
                                
                            </table>
                            
                        </ItemTemplate>
                    </asp:DataList>                   
                </div>   
            </asp:Panel> 
        </div>
        <uc2:bottom ID="bottom1" runat="server" />
    </form>
</body>
</html>
